#pragma once
#include "frame.h"
#include "httplib.h"

template<typename T>
inline void parseReqParam(const httplib::Request& req, const std::string& key, T& value)
{
	std::string str = req.get_param_value(key);
	std::stringstream s;
	s << str;
	s >> value;
}
